#! /usr/bin/python
# Copyright (C) 2010  Johan Jordaan (www.johanjordaan.co.za)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Todo List
#
from constants import *
from mapper import Mapper

GM = Mapper( [ {ID        :'MultiverseID'}
              ,{NAME      :'Name'}
              ,{COST      :'Cost'}
              ,{TYPE      :'Type'}
              ,{PT        :'Pow/Tgh'}
              ,{LOYALTY   :'Loyalty'}
              ,{SET_RARITY:'Set/Rarity'}
              ,{TEXT      :'Rules Text'} 
             ]
           )
           
CSV = Mapper( [  {ID        :'MultiverseID'}
                ,{NAME      :'Name'}
                ,{COST      :'Cost'}
                ,{TYPE      :'Type'}
                ,{PT        :'Pow/Tgh'}
                ,{LOYALTY   :'Loyalty'}
                ,{SET_RARITY:'Set/Rarity'}
                ,{TEXT      :'Rules Text'} 
              ]
            )
             
ECSV = Mapper( [ {ID          : 'MultiverseID'}
                ,{NAME        : 'Name'}
                ,{COST        : 'Cost'}
                ,{HASCOST     : 'HasCost'}
                ,{COLOR       : 'Color'}
                ,{CMC         : 'ConvertedManaCost'}
                ,{ISGOLD      : 'IsGold'}
                ,{TYPE        : 'Type'}
                ,{TYPES       : 'Types'}
                ,{SUBTYPES    : 'Subtypes'}
                ,{SUPERTYPES  : 'Supertypes'}
                ,{PT          : 'Pow/Tgh'}
                ,{P           : 'Power'}
                ,{T           : 'Toughness'	}
                ,{HASVP       : 'HasVariablePower'	}
                ,{HASVT       : 'HasVariableToughness'}
                ,{HASPANDT    : 'HasPowerAndToughness'}
                ,{LOYALTY     : 'Loyalty'}
                ,{SET_RARITY  : 'Set/Rarity'}
                ,{RARITY      : 'Rarity'}
                ,{M_RARE      : 'Mythic Rare'}
                ,{RARE        : 'Rare'}
                ,{UNCOMMON    : 'Uncommon'}
                ,{COMMON      : 'Common'}
                ,{LAND        : 'Land'}
                ,{TEXT        : 'Rules Text'}   
               ]
             )
    
